# -*- coding: utf-8 -*-
"""
@ Created on 2024-06-14 12:23
---------
@summary: 常量模块
---------
@author: Lsaiah
"""

from .messages import *
from .codes import *

__all__ = [
    # 消息常量
    "MESSAGE_SUCCESS", "MESSAGE_FAILED", "MESSAGE_ERROR", "MESSAGE_NOT_FOUND",
    "MESSAGE_UNAUTHORIZED", "MESSAGE_FORBIDDEN", "MESSAGE_BAD_REQUEST", "MESSAGE_SERVER_ERROR",
    "MESSAGE_USER_LOGIN_SUCCESS", "MESSAGE_USER_LOGIN_FAILED", "MESSAGE_USER_LOGOUT_SUCCESS",
    "MESSAGE_USER_REGISTER_SUCCESS", "MESSAGE_USER_REGISTER_FAILED", "MESSAGE_USER_NOT_FOUND",
    "MESSAGE_USER_ALREADY_EXISTS", "MESSAGE_USER_PASSWORD_ERROR", "MESSAGE_USER_ACCOUNT_DISABLED",
    "MESSAGE_USER_TOKEN_EXPIRED", "MESSAGE_USER_TOKEN_INVALID",
    "MESSAGE_PERMISSION_DENIED", "MESSAGE_ROLE_NOT_FOUND", "MESSAGE_PERMISSION_NOT_FOUND",
    "MESSAGE_DATA_CREATE_SUCCESS", "MESSAGE_DATA_UPDATE_SUCCESS", "MESSAGE_DATA_DELETE_SUCCESS",
    "MESSAGE_DATA_QUERY_SUCCESS", "MESSAGE_DATA_NOT_FOUND", "MESSAGE_DATA_ALREADY_EXISTS",
    "MESSAGE_DATA_VALIDATION_ERROR",
    "MESSAGE_FILE_UPLOAD_SUCCESS", "MESSAGE_FILE_UPLOAD_FAILED", "MESSAGE_FILE_NOT_FOUND",
    "MESSAGE_FILE_TOO_LARGE", "MESSAGE_FILE_TYPE_NOT_ALLOWED",
    "MESSAGE_SYSTEM_MAINTENANCE", "MESSAGE_SYSTEM_BUSY", "MESSAGE_NETWORK_ERROR",
    "MESSAGE_DATABASE_ERROR", "MESSAGE_REDIS_ERROR",
    
    # 状态码常量
    "HTTP_200_OK", "HTTP_201_CREATED", "HTTP_204_NO_CONTENT", "HTTP_400_BAD_REQUEST",
    "HTTP_401_UNAUTHORIZED", "HTTP_403_FORBIDDEN", "HTTP_404_NOT_FOUND", "HTTP_405_METHOD_NOT_ALLOWED",
    "HTTP_409_CONFLICT", "HTTP_422_UNPROCESSABLE_ENTITY", "HTTP_429_TOO_MANY_REQUESTS",
    "HTTP_500_INTERNAL_SERVER_ERROR", "HTTP_502_BAD_GATEWAY", "HTTP_503_SERVICE_UNAVAILABLE",
    "CODE_SUCCESS", "CODE_FAILED", "CODE_ERROR", "CODE_UNAUTHORIZED", "CODE_FORBIDDEN",
    "CODE_NOT_FOUND", "CODE_VALIDATION_ERROR", "CODE_CONFLICT", "CODE_RATE_LIMIT",
    "CODE_USER_LOGIN_SUCCESS", "CODE_USER_LOGIN_FAILED", "CODE_USER_REGISTER_SUCCESS",
    "CODE_USER_REGISTER_FAILED", "CODE_USER_NOT_FOUND", "CODE_USER_ALREADY_EXISTS",
    "CODE_USER_PASSWORD_ERROR", "CODE_USER_TOKEN_EXPIRED", "CODE_USER_TOKEN_INVALID",
    "CODE_PERMISSION_DENIED", "CODE_ROLE_NOT_FOUND", "CODE_PERMISSION_NOT_FOUND",
    "CODE_DATA_CREATE_SUCCESS", "CODE_DATA_UPDATE_SUCCESS", "CODE_DATA_DELETE_SUCCESS",
    "CODE_DATA_QUERY_SUCCESS", "CODE_DATA_NOT_FOUND", "CODE_DATA_ALREADY_EXISTS",
    "CODE_DATA_VALIDATION_ERROR",
    "CODE_FILE_UPLOAD_SUCCESS", "CODE_FILE_UPLOAD_FAILED", "CODE_FILE_NOT_FOUND",
    "CODE_FILE_TOO_LARGE", "CODE_FILE_TYPE_NOT_ALLOWED",
    "CODE_SYSTEM_MAINTENANCE", "CODE_SYSTEM_BUSY", "CODE_NETWORK_ERROR",
    "CODE_DATABASE_ERROR", "CODE_REDIS_ERROR"
]
